# run.py
from app import create_app
import logging

app = create_app()

# 增强日志配置
logging.basicConfig(level=logging.DEBUG)
# logger = logging.getLogger('flask_cors')
# logger.setLevel(logging.DEBUG)
logging.basicConfig()
logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO)
if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000, debug=True)